<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/template/layout.xhtml">
	<ui:define name="othersContent">
		<p:dialog id="confirmDialog" header="#{msgs['label.confirmation']}" widgetVar="confirmDialog" modal="true" resizable="false"
			draggable="false" appendToBody="true">
			<h:form id="frmDialog" prependId="false">
				<h:panelGrid id="msgPane" columns="2">
					<h:graphicImage name="question.png" library="img" width="48" height="48" />
					<h:outputText value="#{param['msgConfirmation']}" />
				</h:panelGrid>
				<div align="center">
					<h:panelGrid id="btnPane" columns="2">
						<p:commandButton id="btnYes" value="#{msgs['button.yes']}" onclick="#{param['actionName']}; return false;" />
						<p:commandButton id="btnNo" value="#{msgs['button.no']}" onclick="confirmDialog.hide();" />
					</h:panelGrid>
				</div>
			</h:form>
		</p:dialog>
	</ui:define>

	<ui:define name="content">
		<ui:param name="prependId" value="false" />
		<h:form id="#{idForm}" prependId="#{prependId}">
			<ui:insert name="spaceToolbar" />
			<ui:insert name="main" />
		</h:form>
		<ui:insert name="outForm" />
	</ui:define>
</ui:composition>